package com.smedi.ismedi.personnel.core.domain.repository;

import com.smedi.ismedi.personnel.core.domain.aggregatemodel.ProfileImage;

import java.util.List;

/**
 * @Author: xulinjun
 * @Date: 2021-6-8 10:56
 */
public interface ProfileImageRepository {
    ProfileImage selectProfileImageByImageUUID(String imageUUID);

    ProfileImage selectProfileImageByPersonId(Long personId);

    List<ProfileImage> selectProfileImageByPersonIds(List<Long> personIds);

    ProfileImage doInsert(ProfileImage data);

    ProfileImage doUpdate(ProfileImage data);
}
